var display =
{
	customItem1: function ()
	{
		var bool = document.getElementById("customItem1.bool.checkbox").checked;
		
		document.getElementById("customItem1.url.label").disabled = !bool;
		document.getElementById("customItem1.url.textbox").disabled = !bool;
	},
	
	
}


var setPref =
{

	
}


var prefs = Components.classes["@mozilla.org/preferences-service;1"]
					  .getService(Components.interfaces.nsIPrefService)
					  .getBranch("extensions.eMS.");


var init = function ()
{
	display.customItem1();
}

window.addEventListener("load", function () {init();}, false);